package com.vm.osm.business.dao;

import com.vm.osm.business.dto.rsp.RspEquTypeDetail;
import com.vm.osm.business.dto.rsp.RspEquTypePage;
import com.vm.osm.business.dto.rsp.checkPlan.KpiItem;
import com.vm.osm.business.entity.EamEquType;
import com.vm.osm.business.entity.OsmKpi;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by zhangshilin on 2018/1/7.
 */
public interface OsmKpiMapper extends BaseDao<OsmKpi,String> {

    public List<KpiItem> getKpiByCond(@Param("deviceType") String deviceType,@Param("enterpriseId") String enterpriseId,@Param("kpiName") String kpiName);


    public List<String> getKpiValuesById(@Param("kpiId") String kpiId,@Param("kpiVersion") String kpiVersion);

    public OsmKpi selectByPrimaryKey(@Param("id") String id);

    public void update(OsmKpi osmKpi);

    public void updateOsmKpi(OsmKpi osmKpi);
}
